package cn.jhc.lifecycle;

import android.util.Log;

public class LogUtil {
    public static final String LIFE_TAG = "LifecycleTag";

    public static void output() {
        String className = Thread.currentThread().getStackTrace()[3].getClassName();
        String methodName = Thread.currentThread().getStackTrace()[3].getMethodName();
        Log.d(LIFE_TAG, className + ":\t" + methodName);
    }
}